package com.my.ruyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

// @SpringBootApplication申明让spring boot自动给程序进行必要的配置
// 等价于以默认属性使用@Configuration， @EnableAutoConfiguration和@ComponentScan
@SpringBootApplication
@EnableScheduling
@MapperScan("com.my.ruyi.mapper")
public class MySpringbootApplication {

	public static void main(String[] args) {
		SpringApplication.run(MySpringbootApplication.class, args);
	}
}
